100
|
How do I specify the indentation of the child items relative to their parents

oDCOCX_Exontrol1:Indent := 11
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:ExpandAll()
|
99
|
How do I get the a property based on its identifier

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Root","",Label,nil,nil,nil)
oDCOCX_Exontrol1:Add("Child 1",1,Edit,nil,"Root",nil):ID := 1234
oDCOCX_Exontrol1:Add("Child 2",2,Edit,nil,"Root",nil)
oDCOCX_Exontrol1:[ExpandItem,"Root"] := true
oDCOCX_Exontrol1:Add("Property",oDCOCX_Exontrol1:[Property,1234]:Name,Label,nil,nil,nil)
oDCOCX_Exontrol1:EndUpdate()
|
98
|
How do I get the a property based on its index

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Root","",Label,nil,nil,nil)
oDCOCX_Exontrol1:Add("Child 1",1,Edit,nil,"Root",nil)
oDCOCX_Exontrol1:Add("Child 2",2,Edit,nil,"Root",nil)
oDCOCX_Exontrol1:[ExpandItem,"Root"] := true
oDCOCX_Exontrol1:Add("Item",oDCOCX_Exontrol1:[Item,1]:Name,Label,nil,nil,nil)
oDCOCX_Exontrol1:EndUpdate()
|
97
|
How do I get the number or count of the properties being listed

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Root","",Label,nil,nil,nil)
oDCOCX_Exontrol1:Add("Child 1",1,Edit,nil,"Root",nil)
oDCOCX_Exontrol1:Add("Child 2",2,Edit,nil,"Root",nil)
oDCOCX_Exontrol1:[ExpandItem,"Root"] := true
oDCOCX_Exontrol1:Add("Count",oDCOCX_Exontrol1:Count,Label,nil,nil,nil)
oDCOCX_Exontrol1:EndUpdate()
|
96
|
How do I change the name or the caption for a column

oDCOCX_Exontrol1:HeaderVisible := true
oDCOCX_Exontrol1:[ColumnCaption,0] := "Properties"
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
95
|
How do I expand a property

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Root","",Label,nil,nil,nil)
oDCOCX_Exontrol1:Add("Child 1",1,Edit,nil,"Root",nil)
oDCOCX_Exontrol1:Add("Child 2",2,Edit,nil,"Root",nil)
oDCOCX_Exontrol1:[ExpandItem,"Root"] := true
oDCOCX_Exontrol1:EndUpdate()
|
94
|
How do I change the width for a column

oDCOCX_Exontrol1:[ColumnWidth,1] := 48
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
93
|
How do I clear or remove all properties
oDCOCX_Exontrol1:Add("First","A",Edit,nil,nil,nil)
oDCOCX_Exontrol1:Clear()
oDCOCX_Exontrol1:Refresh()
|
92
|
How do I remove a property
oDCOCX_Exontrol1:Add("First","A",Edit,nil,nil,nil)
oDCOCX_Exontrol1:Remove("First")
oDCOCX_Exontrol1:Refresh()
|
91
|
How do I add a property

oDCOCX_Exontrol1:Add("First Name","Mihai",Edit,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()
|
90
|
How do I change the visual aspect description's spliter, using EBN

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:[Background,exHeaderFilterBarButton] := 0x1000000
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
89
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(2,"c:\exontrol\images\pushed.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(3,"c:\exontrol\images\hot.ebn")
oDCOCX_Exontrol1:[Background,exHSThumb] := 0x1000000
oDCOCX_Exontrol1:[Background,exHSThumbP] := 0x2000000
oDCOCX_Exontrol1:[Background,exHSThumbH] := 0x3000000
oDCOCX_Exontrol1:[Background,exVSThumb] := 0x1000000
oDCOCX_Exontrol1:[Background,exVSThumbP] := 0x2000000
oDCOCX_Exontrol1:[Background,exVSThumbH] := 0x3000000
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
88
|
I've seen that you can change the visual appearance for the scroll bar. How can I do that

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(2,"c:\exontrol\images\pushed.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(3,"c:\exontrol\images\hot.ebn")
oDCOCX_Exontrol1:[Background,exSBtn] := 0x1000000
oDCOCX_Exontrol1:[Background,exSBtnP] := 0x2000000
oDCOCX_Exontrol1:[Background,exSBtnH] := 0x3000000
oDCOCX_Exontrol1:[Background,exHSBack] := RGB(240,240,240)
oDCOCX_Exontrol1:[Background,exVSBack] := RGB(240,240,240)
oDCOCX_Exontrol1:[Background,exScrollSizeGrip] := RGB(240,240,240)
oDCOCX_Exontrol1:HeaderVisible := true
oDCOCX_Exontrol1:ColumnAutoResize := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
87
|
Can I change the forecolor for the tooltip

oDCOCX_Exontrol1:ToolTipDelay := 1
oDCOCX_Exontrol1:ToolTipWidth := 364
oDCOCX_Exontrol1:[Background,exToolTipForeColor] := RGB(255,0,0)
oDCOCX_Exontrol1:AllowTooltip := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
86
|
Can I change the background color for the tooltip

oDCOCX_Exontrol1:ToolTipDelay := 1
oDCOCX_Exontrol1:ToolTipWidth := 364
oDCOCX_Exontrol1:[Background,exToolTipBackColor] := RGB(255,0,0)
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:AllowTooltip := true
|
85
|
Can I change the default border of the tooltip, using your EBN files

oDCOCX_Exontrol1:ToolTipDelay := 1
oDCOCX_Exontrol1:ToolTipWidth := 364
oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:[Background,exToolTipAppearance] := 0x1000000
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:AllowTooltip := true
|
84
|
Is there any option to highligth the column from the cursor - point
oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:[Background,exCursorHoverColumn] := 0x1000000
oDCOCX_Exontrol1:HeaderVisible := true
|
83
|
How can change the visual appearance for the spin control, using your EBN files

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(2,"c:\exontrol\images\pushed.ebn")
oDCOCX_Exontrol1:[Background,exSpinUpButtonUp] := 0x1000000
oDCOCX_Exontrol1:[Background,exSpinUpButtonDown] := 0x2000000
oDCOCX_Exontrol1:[Background,exSpinDownButtonUp] := 0x1000000
oDCOCX_Exontrol1:[Background,exSpinDownButtonDown] := 0x2000000
oDCOCX_Exontrol1:AllowSpin := true
oDCOCX_Exontrol1:Add("Spin",50,Edit,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()
|
82
|
How can change the visual appearance for the slider or track bar, using your EBN files

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:[Background,exSliderThumb] := 0x1000000
oDCOCX_Exontrol1:[Background,exSliderRange] := RGB(210,210,210)
oDCOCX_Exontrol1:Add("Slider",50,EditSlider,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()
|
81
|
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(2,"c:\exontrol\images\pushed.ebn")
oDCOCX_Exontrol1:[Background,exDateHeader] := 0x1000000
oDCOCX_Exontrol1:[Background,exDateTodayUp] := 0x1000000
oDCOCX_Exontrol1:[Background,exDateTodayDown] := 0x2000000
oDCOCX_Exontrol1:[Background,exDateScrollThumb] := 0x1000000
oDCOCX_Exontrol1:[Background,exDateScrollRange] := RGB(230,230,230)
oDCOCX_Exontrol1:[Background,exDateSeparatorBar] := RGB(230,230,230)
oDCOCX_Exontrol1:[Background,exDateSelect] := 0x1000000
oDCOCX_Exontrol1:Add("Date","1/1/2001",EditDate,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()
|
80
|
How can change the visual appearance for the button that are visible inside the editors, using your EBN files

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(2,"c:\exontrol\images\pushed.ebn")
oDCOCX_Exontrol1:[Background,exButtonDown] := 0x1000000
oDCOCX_Exontrol1:[Background,exButtonUp] := 0x2000000
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
79
|
How can change the visual appearance for the button that shows the drop down editors, using your EBN files

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(2,"c:\exontrol\images\pushed.ebn")
oDCOCX_Exontrol1:[Background,exDropDownButtonUp] := 0x1000000
oDCOCX_Exontrol1:[Background,exDropDownButtonDown] := 0x2000000
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
78
|
Can I change the order of the buttons in the scroll bar

oDCOCX_Exontrol1:[ScrollOrderParts,exHScroll] := "t,l,r"
oDCOCX_Exontrol1:[ScrollOrderParts,exVScroll] := "t,l,r"
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
77
|
The thumb size seems to be very small. Can I make it bigger

oDCOCX_Exontrol1:[ScrollThumbSize,exVScroll] := 128
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
76
|
How do I enlarge or change the size of the control's scrollbars

oDCOCX_Exontrol1:ScrollHeight := 18
oDCOCX_Exontrol1:ScrollWidth := 18
oDCOCX_Exontrol1:ScrollButtonWidth := 18
oDCOCX_Exontrol1:ScrollButtonHeight := 18
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
75
|
How can I display my text on the scroll bar, using a different font

oDCOCX_Exontrol1:[ScrollPartCaption,exVScroll,exThumbPart] := "This is just a text"
oDCOCX_Exontrol1:[ScrollFont,exVScroll]:Size := 12
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
74
|
How can I display my text on the scroll bar

oDCOCX_Exontrol1:[ScrollPartCaption,exVScroll,exThumbPart] := "this is just a text"
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
73
|
How do I assign a tooltip to a scrollbar

oDCOCX_Exontrol1:[ScrollToolTip,exVScroll] := "This is a tooltip being shown when you click and drag the thumb in the vertical scroll bar"
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
72
|
How do I assign an icon to the button in the scrollbar

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:[ScrollPartVisible,exVScroll,exLeftB1Part] := true
oDCOCX_Exontrol1:[ScrollPartCaption,exVScroll,exLeftB1Part] := "<img>1</img>"
oDCOCX_Exontrol1:ScrollHeight := 18
oDCOCX_Exontrol1:ScrollButtonWidth := 18
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
71
|
I need to add a button in the scroll bar. Is this possible

oDCOCX_Exontrol1:[ScrollPartVisible,exVScroll,exLeftB1Part] := true
oDCOCX_Exontrol1:[ScrollPartCaption,exVScroll,exLeftB1Part] := "1"
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
70
|
Can I display an additional buttons in the scroll bar

oDCOCX_Exontrol1:[ScrollPartVisible,exVScroll,exLeftB1Part] := true
oDCOCX_Exontrol1:[ScrollPartVisible,exVScroll,exLeftB2Part] := true
oDCOCX_Exontrol1:[ScrollPartVisible,exVScroll,exRightB6Part] := true
oDCOCX_Exontrol1:[ScrollPartVisible,exVScroll,exRightB5Part] := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
69
|
Can I change the font for the tooltip

local var_StdFont as stdFont
oDCOCX_Exontrol1:ToolTipDelay := 1
// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
var_StdFont := oDCOCX_Exontrol1:ToolTipFont
var_StdFont:Name := "Tahoma"
var_StdFont:Size := 14
oDCOCX_Exontrol1:AllowTooltip := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
68
|
How do I call your x-script language

local var_Property as IProperty
var_Property := IProperty{oDCOCX_Exontrol1:ExecuteTemplate("Add(`Bold`,1,1)")}
var_Property:Bold := true
|
67
|
How do I disable sorting the columns when clicking the control's header
oDCOCX_Exontrol1:SortOnClick := exNoSort
oDCOCX_Exontrol1:HeaderVisible := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
66
|
Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(2,"c:\exontrol\images\pushed.ebn")
oDCOCX_Exontrol1:HasButtons := exCustom
oDCOCX_Exontrol1:[HasButtonsCustom,false] := 16777216
oDCOCX_Exontrol1:[HasButtonsCustom,true] := 33554432
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
65
|
Can I use my own icons for the +/- ( expand/collapse ) buttons

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:HasButtons := exCustom
oDCOCX_Exontrol1:[HasButtonsCustom,false] := 1
oDCOCX_Exontrol1:[HasButtonsCustom,true] := 2
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
64
|
How do I change visual appearance of the +/- ( expand/collapse ) buttons

oDCOCX_Exontrol1:HasButtons := exWPlus
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
63
|
How do I browse or select for a com or net object
oDCOCX_Exontrol1:SelectedObject := oDCOCX_Exontrol1
|
62
|
How do I expand all properties

oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:ExpandAll()
|
61
|
How do I enable resizing the columns at runtime

oDCOCX_Exontrol1:ColumnsAllowSizing := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
60
|
How do I call your x-script language

oDCOCX_Exontrol1:Template := "Add(`First`,1,1)"
|
59
|
How can I enable or disable the control

oDCOCX_Exontrol1:Enabled := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
58
|
I've seen that the width of the tooltip is variable. Can I make it larger

oDCOCX_Exontrol1:ToolTipWidth := 328
oDCOCX_Exontrol1:AllowTooltip := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
57
|
How do I disable showing the tooltip for all control
oDCOCX_Exontrol1:ToolTipDelay := 0
oDCOCX_Exontrol1:AllowTooltip := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
56
|
How do I let the tooltip being displayed longer

oDCOCX_Exontrol1:ToolTipPopDelay := 10000
oDCOCX_Exontrol1:AllowTooltip := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
55
|
How do I show the tooltip quicker

oDCOCX_Exontrol1:ToolTipDelay := 1
oDCOCX_Exontrol1:AllowTooltip := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
54
|
How do I get the handle of the control's window
local var_hWnd as USUAL
var_hWnd := oDCOCX_Exontrol1:hWnd
|
53
|
How do I show alternate rows in different background color

oDCOCX_Exontrol1:BackColorAlternate := RGB(240,240,240)
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
52
|
How do enable or disable tooltips
oDCOCX_Exontrol1:AllowTooltip := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
51
|
How do change the foreground color for the control's header bar, using EBN

oDCOCX_Exontrol1:HeaderVisible := true
oDCOCX_Exontrol1:ForeColorHeader := RGB(255,0,0)
|
50
|
How do change the visual appearance for the control's header bar, using EBN

oDCOCX_Exontrol1:HeaderVisible := true
oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:BackColorHeader := 0x1000000
|
49
|
How do I change the foreground color for the description part in the bottom side of the control

oDCOCX_Exontrol1:ForeColorDescription := RGB(255,0,0)
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
48
|
How do I change the visual appearance for the description part in the bottom side of the control, using your EBN files

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:BackColorDescription := 0x1000000
|
47
|
How do I change the background color for the description part in the bottom side of the control

oDCOCX_Exontrol1:BackColorDescription := RGB(255,0,0)
|
46
|
Is there any option to specify the height of the items, before adding them

oDCOCX_Exontrol1:DefaultItemHeight := 13
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
45
|
How do I show or hide the connection between categories

oDCOCX_Exontrol1:MarkCategories := true
oDCOCX_Exontrol1:LinkCategories := false
oDCOCX_Exontrol1:ShowCategories := true
oDCOCX_Exontrol1:ShowPropertyPages := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
44
|
How do I show or hide the categories

oDCOCX_Exontrol1:MarkCategories := true
oDCOCX_Exontrol1:MarkLineColor := RGB(255,0,0)
oDCOCX_Exontrol1:ShowCategories := true
oDCOCX_Exontrol1:ShowPropertyPages := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
43
|
How do I change the foreground color for categories

oDCOCX_Exontrol1:ForeColorCategories := RGB(255,0,0)
oDCOCX_Exontrol1:ShowCategories := true
oDCOCX_Exontrol1:ShowPropertyPages := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
42
|
How do I change the background color for categories

oDCOCX_Exontrol1:BackColorCategories := RGB(255,0,0)
oDCOCX_Exontrol1:ShowCategories := true
oDCOCX_Exontrol1:ShowPropertyPages := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
41
|
How do I sort the control

oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:Sort(false,nil)
|
40
|
Is there any option to change the color for the grid lines

oDCOCX_Exontrol1:HasGridLines := exAllLines
oDCOCX_Exontrol1:GridLineColor := RGB(255,0,0)
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
39
|
How do I specify the default category

oDCOCX_Exontrol1:DefaultCategory := "Font"
oDCOCX_Exontrol1:ShowCategories := true
oDCOCX_Exontrol1:ShowPropertyPages := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
38
|
How do I show or hide the categories

oDCOCX_Exontrol1:MarkCategories := false
oDCOCX_Exontrol1:ShowCategories := true
oDCOCX_Exontrol1:ShowPropertyPages := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
37
|
How do I get a property based on its name

oDCOCX_Exontrol1:Add("First Name","Mihai",Edit,nil,nil,nil):ID := 100
oDCOCX_Exontrol1:Add("Last Name","Filimon",Edit,nil,nil,nil)
oDCOCX_Exontrol1:SelectedProperty := IProperty{oDCOCX_Exontrol1:[Property,100]}
oDCOCX_Exontrol1:Refresh()
|
36
|
How do I get a property based on its name

oDCOCX_Exontrol1:Add("First Name","Mihai",Edit,nil,nil,nil)
oDCOCX_Exontrol1:Add("Last Name","Filimon",Edit,nil,nil,nil)
oDCOCX_Exontrol1:SelectedProperty := IProperty{oDCOCX_Exontrol1:[Property,"Last Name"]}
oDCOCX_Exontrol1:Refresh()
|
35
|
How do I maintain performance while making several changes
oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("First",1,Edit,nil,nil,nil)
oDCOCX_Exontrol1:Add("Second",1,Edit,nil,nil,nil)
oDCOCX_Exontrol1:EndUpdate()
|
34
|
How can I get a list of interfaces that an object implements

OutputDebugString(String2Psz( oDCOCX_Exontrol1:[Interfaces,oDCOCX_Exontrol1] ))
|
33
|
How can I display something else when including the elements of a collection
oDCOCX_Exontrol1:ShowObjects := true
oDCOCX_Exontrol1:ShowItemsCollection := true
oDCOCX_Exontrol1:NameItemsCollection := "Name;Caption;Item;Index"
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
32
|
How can I include the elements of a collection
oDCOCX_Exontrol1:ShowObjects := true
oDCOCX_Exontrol1:ShowItemsCollection := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
31
|
How can I use a spin control to edit numeric values

oDCOCX_Exontrol1:AllowSpin := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
30
|
How can I change the control's font

oDCOCX_Exontrol1:Font:Name := "Tahoma"
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
29
|
How do I show or hide the variables of an object like Font

oDCOCX_Exontrol1:ShowVariables := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1:Font)
|
28
|
How do I show or hide the categories

oDCOCX_Exontrol1:ShowCategories := true
oDCOCX_Exontrol1:ShowPropertyPages := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
27
|
How do I refresh the control
oDCOCX_Exontrol1:Add("Last Name","Filimon",Edit,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()
|
26
|
How can still display the selected items when the control loses the focus
oDCOCX_Exontrol1:HideSelection := false
oDCOCX_Exontrol1:Add("First Name","Mihai",Edit,nil,nil,nil)
oDCOCX_Exontrol1:Add("Last Name","Filimon",Edit,nil,nil,nil)
oDCOCX_Exontrol1:SelectedProperty := IProperty{oDCOCX_Exontrol1:[Property,"Last Name"]}
oDCOCX_Exontrol1:Refresh()
|
25
|
How do I change the visual appearance effect for the selected item, using EBN

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:SelBackColor := 0x1000000
oDCOCX_Exontrol1:SelForeColor := RGB(0,0,0)
oDCOCX_Exontrol1:Add("First Name","Mihai",Edit,nil,nil,nil)
oDCOCX_Exontrol1:Add("Last Name","Filimon",Edit,nil,nil,nil)
oDCOCX_Exontrol1:SelectedProperty := IProperty{oDCOCX_Exontrol1:[Property,"Last Name"]}
oDCOCX_Exontrol1:Refresh()
|
24
|
How do I change the colors for the selected item

oDCOCX_Exontrol1:SelBackColor := RGB(0,0,0)
oDCOCX_Exontrol1:Add("First Name","Mihai",Edit,nil,nil,nil)
oDCOCX_Exontrol1:Add("Last Name","Filimon",Edit,nil,nil,nil)
oDCOCX_Exontrol1:SelectedProperty := IProperty{oDCOCX_Exontrol1:[Property,"Last Name"]}
oDCOCX_Exontrol1:Refresh()
|
23
|
How do I show or hide the non browseable members
oDCOCX_Exontrol1:ShowNonBrowsable := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
22
|
How can I hide or show the object's property pages

oDCOCX_Exontrol1:ShowPropertyPages := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
21
|
How do I filter properties when loading
oDCOCX_Exontrol1:FireIncludeProperty := true
|
20
|
How do I get or set the selected property

oDCOCX_Exontrol1:Add("First Name","Mihai",Edit,nil,nil,nil)
oDCOCX_Exontrol1:Add("Last Name","Filimon",Edit,nil,nil,nil)
oDCOCX_Exontrol1:SelectedProperty := IProperty{oDCOCX_Exontrol1:[Property,"Last Name"]}
oDCOCX_Exontrol1:Refresh()
|
19
|
How do I remove "Invalid property value." message
oDCOCX_Exontrol1:InvalidValueMessage := ""
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
18
|
How do I change the "Invalid property value." message
oDCOCX_Exontrol1:InvalidValueMessage := "new message"
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
17
|
How do I edit a property as soon as the user selects it
oDCOCX_Exontrol1:EditOnSelect := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
16
|
How do I make the control read only

oDCOCX_Exontrol1:ReadOnly := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
15
|
How do I show or hide the read only members
oDCOCX_Exontrol1:ShowReadOnly := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
14
|
How do I show or hide the grid lines

oDCOCX_Exontrol1:HasGridLines := exNoLines
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
13
|
How do I hide the hierarchy lines

oDCOCX_Exontrol1:HasLines := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
12
|
How can I add the horizontal scroll bar

oDCOCX_Exontrol1:ColumnAutoResize := false
oDCOCX_Exontrol1:HeaderVisible := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
11
|
How do I show or hide the control's header bar

oDCOCX_Exontrol1:HeaderVisible := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
10
|
How do I show or hide the objects members
oDCOCX_Exontrol1:ShowObjects := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
9
|
How do I show or hide the restricted members
oDCOCX_Exontrol1:ShowRestricted := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
8
|
How do I show or hide the hidden members
oDCOCX_Exontrol1:ShowHidden := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
7
|
How do I browse or select an object
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
6
|
How do I change the control's foreground color

oDCOCX_Exontrol1:ForeColor := RGB(120,0,120)
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
|
5
|
How do I change the control's background color

oDCOCX_Exontrol1:BackColor := RGB(200,200,200)
|
4
|
How do change the visual appearance for the control's border, using EBN

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:BorderStyle := 0x1000000 |
oDCOCX_Exontrol1:BackColor := RGB(255,255,255)
|
3
|
How do I remove the control's border
oDCOCX_Exontrol1:BorderStyle := None
|
2
|
How do I change the height of the description part in the bottom side of the control

oDCOCX_Exontrol1:DescriptionHeight := 100
|
1
|
How do I hide or show the description part in the bottom side of the control

oDCOCX_Exontrol1:DescriptionVisible := false
|